﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace Idte.Application.PDN.Models
{
    public class CategoryAnswer
    {

        [ForeignKey("CategoryId")]
        public Category Category { get; set; }
        [Key, Column(Order = 0)]
        public int CategoryId { get; set; }

        [ForeignKey("AnswerId")]
        public CompetencyAnswer Answer { get; set; }
        [Key, Column(Order = 1)]
        public Guid AnswerId { get; set; }
    }
}